#依赖jdk8环境
FROM openjdk:17

#对外暴露8080
EXPOSE 8080
#复制server-1.0-SNAPSHOT到docker容器中并命名为app.jar
ADD duck-gateway.jar gateway.jar
#执行命令
ENTRYPOINT ["java", "-jar", "/gateway.jar"]
